<extend name="Base/common"/>
<block name="body">
    <div class="base">
        <?php if(!isset($bannerList) || empty($bannerList) || empty($bannerList['data'])):?>
        <img class="ibox" src="http://www.baffedu.com/bfyy/Uploads/Picture/2016-07-21/579093980ca42.jpg" />
        <?php else:?>
        <volist name="bannerList['data']" id="vo">
            <img class="ibox" src="{$vo['image_url']}" title="{$vo.title}"  />
        </volist>
        <?php endif;?>
    </div>
    <div class="base mt10 pb50">
        <div class="main mt10">
            <div class="info_context">
                <div class="base tc">
                    <h2 class="new-title">{$detail['title']}</h2>
                </div>
                <div class="base newsInfo">
                    <div class="fr">{:date('Y-m-d H:i', $detail['create_time'])}</div>
                </div>
                <div class="base txtcontext">
                    {$detail['content']}
                </div>
            </div>
            <include file="Public/detail_right" />
        </div>
    </div>
</block>